home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_500 / wiconify / wiconsetter.lzh / wIconSetter / Source / wIconSetter.h < prev    next >
C/C++ Source or Header  |  1991-04-19  |  1KB  |  59 lines

  1. #ifndef INTUITION_PREFERENCES_H
  2. #include <intuition/intuitionbase.h>
  3. #include <devices/input.h>
  4. #include <libraries/dosextens.h>
  5. #include "wIcon.h"
  6. #include "wMemory.h"
  7.  
  8. #define PROGRAM         "wIconSetter"
  9. #define VERSION         "v4"
  10. #define COPYRIGHT\
  11.    "Copyright (c) 1990 by Davide P. Cervone, all rights reserved"
  12.  
  13. #define USAGE       "wIconSetter <initfile>"
  14.  
  15. #define LOADVERS        4
  16.  
  17. #define MINHMAJVERS     1
  18. #define MINHMINVERS     2
  19.  
  20. #define HANDLERCODE     "L:wIconSetter-Handler"        /* the handler file */
  21. #define INITFILE1       "WICONIFY:wIconSetter.Init"
  22. #define INITFILE2       "S:wIconSetter.Init"
  23.  
  24.  
  25.  
  26. #define EXIT_ERROR      10
  27. #define EXIT_OK         0
  28. #define ONE             1L
  29.  
  30. extern struct IntuitionBase *IntuitionBase;
  31. extern struct GfxBase *GfxBase;
  32. extern struct SysBase *SysBase;
  33. #define INTUITION_REV       0L
  34. #define GRAPHICS_REV        0L
  35.  
  36.  
  37. extern long LVOOpenWindow;
  38. extern long LVOSetWindowTitles;
  39. extern long LVOOpenScreen;
  40.  
  41. extern long SetFunction();
  42. extern struct Process *FindTask();
  43. extern struct MsgPort *FindPort();
  44. #define FreeDefine(ptr)     FreeWindow(ptr)
  45.  
  46.  
  47. #define MAXICONS        32
  48. struct NeedsIcon
  49. {
  50.    struct Window *Window;
  51.    WICON *Icon;
  52. };
  53.  
  54. #include "wIconSetup.h"
  55.  
  56. extern ICONPROGRAM *FirstProgram;
  57. extern ICONPROGRAM *ProgramAny;
  58. extern ICONDEFINE  *FirstDefine;
  59.